package com.gjs.cd.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gjs.cd.pojo.dto.CdResourceReq;
import com.gjs.cd.pojo.dto.TotalReq;
import com.gjs.cd.pojo.entity.CdResource;
import com.gjs.common.pojo.dto.request.PageQuery;

import java.util.List;


/**
 * @author zhongwenguang
 * @date 2022-3-16 11:17
 */
public interface ICdResourceService extends IService<CdResource> {
    IPage<CdResourceReq> getListByCdId(PageQuery pageQuery, Long cdId);
    //通过cd_id进行分组统计
    List<TotalReq> getTotalByIds(List<Long> ids);
}
